<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property int $main_uid 系统账号id
 * @property int $uid 客服id
 * @property int $cate_id 分类id
 * @property string $keyword 关键词
 * @property int $match_type 匹配方式：0=精确匹配 1=模糊匹配
 * @property string $content 内容
 * @property int $type 类型：0=个人 1=公共 2=部门
 * @property \Carbon\Carbon $created_at 创建时间
 * @property \Carbon\Carbon $updated_at 更新时间
 */
class ChTalkKeyword extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_talk_keyword';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'main_uid', 'uid', 'cate_id', 'keyword', 'match_type', 'content', 'type', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'main_uid' => 'integer', 'uid' => 'integer', 'cate_id' => 'integer', 'match_type' => 'integer', 'type' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
